/**
 * Created with JetBrains PhpStorm.
 * User: ishowshao
 * Date: 13-3-18
 */
(function (namespace, name) {
    var Template = function (config) {
        this.config = config || {};
        this.make();
    };
    Template.prototype = {
        make: function () {
        },
        render: function (renderTo) {
            jQuery(renderTo).append(this.el);
        }
    };
    Template.prototype.constructor = Template;

    namespace = namespace || window;
    name = name || 'Template';

    namespace[name] = Template;
})(window, 'Template');
